package adapter

type tMockSpecialFactory struct {
}

func newMockSpecialFactory() IThermometerFactory {
	return &tMockSpecialFactory{}
}

func (me *tMockSpecialFactory) Create(config string) IThermometer {
	t := newMockSpecialThermometer(me.parseAddress(config))
	return newSpecialAdapter(t)
}

func (me *tMockSpecialFactory) parseAddress(config string) string {
	return "http://localhost:8080"
}


var SpecialThermometerFactory IThermometerFactory = newMockSpecialFactory()